package com.bw.service.impl;

import com.bw.dao.GoodsTypeDao;
import com.bw.domain.GoodsType;
import com.bw.service.GoodsTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsTypeServiceImpl implements GoodsTypeService {
    @Autowired
    GoodsTypeDao goodsTypeDao;
    @Override
    public List<GoodsType> lists(Integer pid) {
        return goodsTypeDao.lists(pid);
    }
}
